import request from '@/utils/request'

// 查询采购列表
export function listCaigou(query) {
  return request({
    url: '/warehouse/caigou/list',
    method: 'get',
    params: query
  })
}

// 删除采购
export function delCaigou(caigouid) {
  return request({
    url: '/warehouse/caigou/' + caigouid,
    method: 'delete'
  })
}
